<html>
<head><meta charset="utf-8"><title>Can rustc warn on missing extern fn docs? · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Can.20rustc.20warn.20on.20missing.20extern.20fn.20docs.3F.html">Can rustc warn on missing extern fn docs?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="210674932"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Can%20rustc%20warn%20on%20missing%20extern%20fn%20docs%3F/near/210674932" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Can.20rustc.20warn.20on.20missing.20extern.20fn.20docs.3F.html#210674932">(Sep 20 2020 at 16:58)</a>:</h4>
<p><code>#![warn(missing_docs)]</code> doesn't seem to generate warnings on <code>extern "C" {</code> fn declarations.</p>
<p>Is there some separate warning I can turn on for those?</p>



<a name="210675553"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Can%20rustc%20warn%20on%20missing%20extern%20fn%20docs%3F/near/210675553" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Can.20rustc.20warn.20on.20missing.20extern.20fn.20docs.3F.html#210675553">(Sep 20 2020 at 17:12)</a>:</h4>
<p>Maybe ask in #rustdoc on Discord?</p>



<a name="210694988"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Can%20rustc%20warn%20on%20missing%20extern%20fn%20docs%3F/near/210694988" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Can.20rustc.20warn.20on.20missing.20extern.20fn.20docs.3F.html#210694988">(Sep 21 2020 at 01:38)</a>:</h4>
<p>People figured it was a bug, filed an issue: <a href="https://github.com/rust-lang/rust/issues/76991">https://github.com/rust-lang/rust/issues/76991</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>